package kr.saeildamil.androidstudty.ch09;

import kr.saeildamil.androidstudty.R;
import android.app.Activity;
import android.content.Intent;
import android.os.Bundle;
import android.view.View;

public class Ch09Main extends Activity {
	@Override
	protected void onCreate(Bundle savedInstanceState) {
		super.onCreate(savedInstanceState);
		setContentView(R.layout.ch09_main);
	}
	
	public void mOnClick(View v){
		switch (v.getId()) {
		case R.id.ch09_btn01:
			startActivity(new Intent(this, OptionMenu.class));
			break;
		case R.id.ch09_btn02:
			startActivity(new Intent(this, OptionMenuXml.class));
			break;
		case R.id.ch09_btn03:
			startActivity(new Intent(this, MyContextMenu.class));
			break;
		case R.id.ch09_btn04:
			startActivity(new Intent(this, MenuCheck.class));
			break;
		default:
			startActivity(new Intent(this, ChangeMenu.class));
			break;
		}
	}
}
